package com.array;

import java.util.Date;

/***
 * defined a array included integer
 * @author one
 *
 */
public class array2Int {
	public static void main(String[] args){
		int a=901212212;
		Integer Int=Integer.valueOf(a);
		String str=Int.toString();
		print(str);
		int[] arr=new int[str.length()];

		for(int i=0;i<str.length();i++){
			arr[i]=Integer.parseInt(str.substring(i, i+1));
			System.out.print(arr[i]+",");
		}
		
	}

	private static void print(Object obj) {
		Date date=new Date();
		System.out.println(date+": "+obj);
		
	}

}
